package serverrmi;

import java.rmi.*;
import java.rmi.server.*;

public class Hello extends UnicastRemoteObject implements HelloInterface{

	String msg; 
	public Hello(String msg) throws RemoteException
	{
		this.msg = msg;
		
	}
	@Override
	public String say() throws RemoteException {
		return this.msg;
	}
	
}
